import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    cityInfo:{},
    id:"", 
    shopId:''
  },
  mutations: {
    addCity(state,info){
      state.cityInfo = info;
    },
    addId(state,info){
      state.id = info;
    },
    addshopid(state,val){
      state.shopId = val
    }
  },
  actions: {
  },
  modules: {
  }
})
